package com.yange.accountbook.net;

/**
 * created by yange
 * 描述：接口文档地址 http://companyapplet.webapi.zhuangku.com/index.html
 */
public interface Api {
    /**
     * baseurl 正式 https
     */
      //String BASE_URL = "http://zoucn.gnway.cc/";
    // String BASE_URL = "http://110.41.21.182:8090/";
     String BASE_URL = "http://110.41.21.182/";


    /**
     * 用户登录
     */
    String LOGIN = "api/login";

    String USER_INFO = "api/user/info";


    /**
     * 获取账本列表
     */
    String BOOK_LIST = "api/book/book/list";

    /**
     * 新增账本
     */
    String BOOK_SAVE = "api/book/book/save";


    String BOOK_UPDATE = "api/book/book/update";

    /**
     * 新增账本 通过账本码添加
     */
    String BOOK_SAVE_BY_CODE = "api/book/book/save/{code}";

    String BOOK_TOTAL_MONEY = "api/book/book/totalMoney";


    /**
     * 账户列表
     */
    String ACCOUNT_LIST = "api/book/account/list";

    String ACCOUNT_INFO = "api/book/account/info/{id}";
    /**
     * 新增账本
     */
    String ACCOUNT_SAVE = "api/book/account/save";

    String ACCOUNT_UPDATE = "api/book/account/update";


    /**
     * 账本详情
     */
    String BOOK_INFO = "api/book/book/info/{id}";


    /**
     * 账户明细列表
     */
    String ACCOUNT_RECORD_LIST = "api/book/accountrecord/list";


    String REPORT_MON_MONEY = "api/book/report/monMoney";
    /**
     * 保存明细
     */
    String ACCOUNT_RECORD_SAVE = "api/book/accountrecord/save";
    String ACCOUNT_RECORD_UPDATE = "api/book/accountrecord/update";


    /**
     * 删除明细
     */
    String ACCOUNT_RECORD_DELETE = "api/book/accountrecord/delete";


    /**
     * 删除账本
     */
    String BOOK_BOOK_DELETE = "api/book/book/delete";


    /**
     * 账本排序
     */
    String BOOK_BOOK_SORT = "api/book/book/sort";

    String ACCOUNT_SORT = "api/book/account/sort";

    String FEE_ITEM_SORT = "api/book/feeitem/sort";

    String ACCOUNT_RECORD_SPLIT = "api/book/accountrecord/oneclick";
    String ACCOUNT_DELETE = "api/book/account/delete";


    /**
     * 获取账期
     */
    String GET_DAY = "api/book/split/account/period";

    String REPORT_LIST = "api/book/report/list";

    /**
     * 设置账期
     */
    String SET_DAY = "api/book/split/account/period/{day}";

    String PERIOD_STATUS = "api/book/split/account/period/status/{enable}";


    /**
     * 获取分账列表
     */
    String SPLIT_ACCOUNT_LIST = "api/book/split/account/list";


    /**
     * 保存分账module
     */
    String SAVE_MODULE = "api/book/split/account/save";


    /**
     * 保存分账module
     */
    String SAVE_MODULE_RULE = "api/book/split/account/saveRule";

    String MODULE_DELETE = "api/book/split/account/delete";


    String MODULE_RULES_DELETE = "api/book/split/account/deleteRule";

    /**
     * 获取图标
     */
    String GET_ICON = "api/book/feeitem/icons";


    /**
     * 分账时候
     */
    String GET_ICON_IN_ITEM = "api/book/feeitem/list/{moneyType}";
    /**
     * 保存条目
     */
    String FEEITEM_SAVE = "api/book/feeitem/save";

    /**
     * 删除费用项
     */
    String FEEITEM_DELETE = "api/book/feeitem/delete";
}
